import request from '@/utils/request'

// /获取快递员分页数据
export const getCourierList = (params) => {
  return request({
    url: '/manager/business-hall/courier/page',
    params
  })
}

// 获取快递员基本信息详情
export const getCourierInfo = (id) => {
  return request({
    url: `/manager/driver/${id}`
    // params: {
    //   0: id
    // }
  })
}
// 获取快递员驾驶证信息
export const getCarInfo = (id) => {
  return request({
    url: `/manager/driverLicense/${id}`
  })
}

